@echo off

:: Set the paths and locations
set baseDir=C:\Documents and Settings\andrew.esler\My Documents\Projects\CILADA
set testAssem="%baseDir%\CILADA.Test\TestAssemblies\CILADA.TestAssembly\bin\Release\CILADA.TestAssembly.dll"
set testAssemTwo="%baseDir%\CILADA.Test\TestAssemblies\CILADA.TestAssemblyTwo\bin\Release\CILADA.TestAssemblyTwo.dll"
set testAssemThree="%baseDir%\CILADA.Test\TestAssemblies\CILADA.TestAssemblyThree\bin\Release\CILADA.TestAssemblyThree.dll"
set testAssemFour="%baseDir%\CILADA.Test\TestAssemblies\CILADA.TestAssemblyFour\bin\Release\CILADA.TestAssemblyFour.exe"
set testAssemFive="%baseDir%\CILADA.Test\TestAssemblies\CILADA.TestAssemblyFive\bin\Release\CILADA.TestAssemblyFive.exe"
set ciladaEngine="%baseDir%\CILADA.Engine\bin\Release\CILADA.Engine.dll"
set ciladaCommandLine="%baseDir%\CILADA.CommandLine\bin\Release\cilada.exe" 
set ciladaTest="%baseDir%\CILADA.Test\bin\Release\CILADA.Test.dll"
set infClient="%baseDir%\CILADA.Test\TestAssemblies\InfClient.dll"
set infServer="%baseDir%\CILADA.Test\TestAssemblies\InfServer.dll"
set resultsDir="%baseDir%\results"

:: create the results directory if it doesnt exist
if not exist %resultsDir% mkdir %resultsDir%

:: run the ananlysis on the selected assemblies
%ciladaCommandLine% -o %resultsDir% -n "CILADA" %ciladaEngine% %ciladaCommandLine% %ciladaTest% %testAssem% %testAssemTwo% %testAssemThree% %testAssemFour% %testAssemFive% -a -v
%ciladaCommandLine% -o %resultsDir% -n "CILADATestAssems" %ciladaEngine% %ciladaTest% %testAssem% %testAssemTwo% %testAssemThree% >> CILADA.TestAssemsAnalysis.txt -a -v
%ciladaCommandLine% -o %resultsDir% -n "InfClientAndServer" %infClient% %infServer% -a -v